package com.xiangban.service.fegin;

import com.xiangban.model.res.ApiResult;
import com.xiangban.service.fallback.SmsServiceFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

@Component
@FeignClient(value = "xiangbanmall",fallbackFactory = SmsServiceFallback.class)
public interface XiangBanMallServiceFeign {
    @RequestMapping("/api/mall/user/update_open_id_by_id")
    ApiResult<Object> updateUserOpenId(Map<String,Object > parameter);

}
